.order-list {
    display: block;

    .order-wrapper {
        display: block;
        background-color: #fff;
        margin-bottom: 10px;

        .order {
            &-head {
                display: flex;
                padding: 10px;
                font-size: 12px;
                color: #666;
                @include haireline-bottom();
            }

            &-items {
                display: block;
                @include haireline-bottom();

                .item {
                    display: flex;
                    padding: 10px;

                    .pic-box {
                        width: 90px;
                        margin-right: 10px;

                        .pic {
                            width: 90px;
                            height: 90px;
                            border-radius: 3px;
                            object-fit: cover;
                        }
                    }

                    &-center {
                        flex: 1;
                        flex-direction: column;

                        .title {
                            font-size: 14px;
                            line-height: 1.3;
                        }

                        .sku-title {
                            font-size: 13px;
                            color: #666;
                            margin-top: 3px;
                        }
                    }

                    &-right {
                        text-align: right;
                        display: block;
                        margin-left: 15px;

                        p {
                            font-size: 14px;
                            color: #333;
                        }

                        i {
                            font-size: 12px;
                            color: #666;
                            font-style: normal;
                        }
                    }
                }
            }

            &-row {
                padding: 10px;
                font-size: 13px;
                text-align: right;
                color: #555;
                @include haireline-bottom();
            }
        }
    }
}

.no-order {
    color: #666;
    font-size: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 0;

    .iconfont {
        font-size: 50px;
        color: #999;
    }
}


.order-detail {
    display: block;
    background-color: #fff;

    .order-state {
        background-color: #1989FA;
        color: #fff;
        display: flex;
        padding: 25px 20px;

        &-text {
            font-size: 18px;
            font-weight: 500;
            display: flex;
            flex-direction: column;
            justify-content: center;
            flex: 1;
        }

        &-icon {
            .iconfont {
                font-size: 40px;
                line-height: 1;
            }
        }
    }

    .shipping-address {
        display: flex;
        padding: 15px;
        background-color: #fff;
        font-size: 14px;

        &-icon {
            display: flex;
            flex-direction: column;
            justify-content: center;
            color: #666;
            margin-right: 10px;

            .iconfont {
                font-size: 18px;
            }
        }
    }

    .order-section-title {
        font-size: 16px;
        font-weight: 500;
        padding: 10px;
    }

    .order {
        &-items {
            display: block;

            .item {
                display: flex;
                padding: 10px;

                .pic-box {
                    width: 90px;
                    height: 90px;
                    margin-right: 10px;

                    .pic {
                        width: 90px;
                        height: 90px;
                        border-radius: 3px;
                        object-fit: cover;
                    }
                }

                .ctx-box {
                    flex: 1;
                    display: flex;
                    flex-direction: column;

                    .title-box {
                        flex: 1;
                        margin-right: 15px;

                        .title {
                            font-size: 14px;
                            line-height: 1.3;
                        }

                        .sku-title {
                            font-size: 13px;
                            color: #666;
                            margin-top: 3px;
                        }
                    }

                    .right-box {
                        text-align: right;
                        display: block;
                        margin-left: 15px;

                        p {
                            font-size: 14px;
                            color: #333;
                        }

                        i {
                            font-size: 12px;
                            color: #666;
                            font-style: normal;
                        }
                    }
                }

                .ctx-button {
                    font-size: 12px;
                    padding: 9px 12px;
                    border-radius: 10px;
                    position: relative;
                    margin-left: 10px;
                    line-height: 1;

                    &::after {
                        content: " ";
                        display: block;
                        position: absolute;
                        left: 0;
                        top: 0;
                        width: 200%;
                        height: 200%;
                        transform: scale(0.5);
                        transform-origin: 0 0;
                        z-index: 10;
                        border: 1px #dddddd solid;
                        border-radius: 10px;
                    }
                }
            }
        }
    }

    .order-info-cell {
        display: flex;
        padding: 5px 10px;
        font-size: 14px;

        .cell-title {
            flex: 1;
        }

        .cell-value {
            font-size: 12px;
            color: #666;
        }
    }

    .order-data-cell {
        font-size: 12px;
        color: #666;
        padding: 5px 10px;
        line-height: 1;
    }

    .state-info {
        padding: 20px 0;
    }
}

.bottom-fixed-bar {
    display: block;
    background-color: #fff;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 5;
}

.order-edit-bar {
    display: flex;
    padding: 10px;

    .order-edit-button {
        font-size: 12px;
        padding: 10px 12px;
        border-radius: 10px;
        position: relative;
        margin-left: 10px;
        line-height: 1;

        &::after {
            content: " ";
            display: block;
            position: absolute;
            left: 0;
            top: 0;
            width: 200%;
            height: 200%;
            transform: scale(0.5);
            transform-origin: 0 0;
            z-index: 10;
            border: 1px #dddddd solid;
            border-radius: 10px;
        }
    }
}

.rate-item {
    display: flex;
    background-color: #fff;
    padding: 15px;

    &{
        .item{
            &-pic {
                margin-right: 10px;

                .pic{
                    width: 60px;
                    height: 60px;
                    object-fit: cover;
                    border-radius: 3px;
                }
            }

            &-title {
                font-size: 14px;
                line-height: 1.2;
            }

            &-sku {
                font-size: 12px;
                color: #666;
                margin-top: 5px;
            }
        }
    }
}
